docs: correct two inaccurate FAQ answers#6
Merged
Conversation
Q1 (tool calling): the previous answer implied a single one-shot forward. Open WebUI actually re-invokes the pipe iteratively after each tool execution, appending role:tool messages to the thread each round. Q2 (FREE_ONLY): removed the google/gemma-* and qwen/qwen3-* examples, which are now incorrect — those models carry an explicit :free suffix. The two-pass detection logic (suffix check + pricing fields) is unchanged. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates the README FAQ to more accurately describe (1) how Open WebUI iteratively re-invokes pipes during tool calling, and (2) how FREE_ONLY determines whether a model is free on OpenRouter.
Changes:
- Clarify that tool calling happens in an iterative loop where Open WebUI appends
role: "tool"messages and re-invokes the pipe with the updated thread. - Remove time-sensitive model examples from the
FREE_ONLYFAQ answer and describe the two-pass “:free+ pricing” logic generically.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+308
to
+310
| ID. The pipe uses a two-pass check: first it looks for the `:free` suffix, then it falls | ||
| back to inspecting the `pricing.prompt` and `pricing.completion` fields returned by the | ||
| OpenRouter `/models` endpoint — if both are `0`, the model is treated as free. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
role: "tool"message and re-invokes the pipe with the full updated thread. The new answer reflects this accurately.google/gemma-*andqwen/qwen3-*model examples, which are now factually wrong — those families carry an explicit:freesuffix like all other free models on OpenRouter. The underlying two-pass detection logic (suffix check → pricing field fallback) is correct and unchanged; the answer now describes the logic without time-sensitive model examples.Verification
Cross-checked against:
/modelsendpoint & free models collection — pricing fields and:freesuffix convention🤖 Generated with Claude Code